Dynomotion

Group: DynoMotion Message: 4157 From: himykabibble Date: 3/3/2012
Subject: Compiler Bug
Tom,

Not a biggie, but this does not work correctly:

DoSomething(chan[3].Dest - ((backoff * ((dist > 0.0) ? 1.0 : -1.0)) * stepsperinch));

The chan[3].Dest term is ignored, and the value passed is only what comes from the parenthesized expression. Calculating the same value into a separate variable, and passing that, works correctly.

Regards,
Ray L.